package com.qolome.dao.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.qolome.dao.QolomeMapper;
import com.qolome.dao.User;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper extends QolomeMapper<User> {

    // 不进行SQL过滤
    @SqlParser(filter = true)
    int updateBatch (List<User> list);

    int updateBatchSelective (List<User> list);

    int batchInsert (@Param("list") List<User> list);

    int insertOrUpdate (User record);

    int insertOrUpdateSelective (User record);

    /**
     * 删除所有
     * @return
     */

}